<div class="blank10"></div>
<%= error_messages_for :user %>
<!--以下为注册title信息-->
<div id="title1" align="left"> <%=image_tag "title_icon1.gif"%><%=image_tag "title_reg.gif"%>
  <h1 class="padding01">1、填写信息</h1>
  <h2 class="padding01">2、注册成功</h2>
  <h3 class="padding01">已是会员，请<%=link_to "登录",{:controller=>'personal_management',:action=>'login'},:target=>"mainFrame"%></h3>
</div>
<!--以下为注册表单-->
<div id="Tab1"> <span></span>
<!--
  <div class="Menubox">
    <ul>
      <li id="one1" class="hover">注册用户</li>
      <li id="one2" style="height:34px;"></li>
      <li style="height:34px;"></li>
    </ul>
  </div>
  -->
<% form_for :user,:url => { :action => "register_save" }  do |f| %>
  <div class="Contentbox">
    <div id="con_one_1" class="hover">
      <div class="reginfo">
        <div class="titleName">用户名：</div>
        <%= f.text_field :name %>
        *
        <div class="blank14"></div>
        <div class="titleName">昵称：</div>
        <%= f.text_field :nickname %>
        *
		<div class="blank14"></div>
        <div class="titleName">密码：</div>
        <%= f.password_field :password %>
        *
        <div class="blank14"></div>
        <div class="titleName">密码确认：</div>
        <%= f.password_field :password_confirmation %>
        *
        <div class="blank14"></div>
        <div class="titleName">电子邮件：</div>
        <%= f.text_field :email %>
        *
        <div class="info">密码要求由英文字母 (a-z大小写)、阿拉伯数字 (0-9) 组成且长度为6-16位字符</div>
        <div class="blank14"></div>
        <div class="titleName">所在城市：</div>
        <%=select("d_city", "id", DCity.find(:all).collect {|c| [ c.city_name, c.id ] }, { :prompt => "请选择城市",:class=>"check_box"})%>
		<div><div class="blank14"></div><div class="blank14"></div>
			<%= f.submit "",:class=>"wordBtn2"%>
			<!--
			<div class="btns">
				<%= link_to '<span>返  回</span>', users_path %>
			</div>
			-->
        </div>
        <div class="blank20"></div>
        <div id="service"></div>
        <div>
          <textarea name="" style="height:150px;width:488px;" cols="" rows="">
		  </textarea>
        </div>
      </div>
    </div>
  </div>
<% end %>
</div>
